package com.yvan.leto.server.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import org.joda.time.DateTime;

@TableName("tb_release_log")
@Getter
@Setter
public class ReleaseLog {

    @TableId("rev_id")
    private Long revId;

    @TableField
    private String sha;

    @TableField
    private String msg;

    @TableField
    private String oper;

    @TableField(exist = false)
    @JsonProperty("create_at")
    private DateTime createAt;

}
